{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_secode:admin}</h3>
	</div>
	<div class="setform">
		<form class="pzform" action="{url admin/basicsecode?act=save}" method="post">
			
			<div class="formgroup">
				<label class="formlabel">{lang secode_login:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="login" value="1" {if $setting['login']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="login" value="0" {if !$setting['login']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang secode_login_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang secode_register:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="register" value="1" {if $setting['register']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="register" value="0" {if !$setting['register']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang secode_register_tip:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}